package comone.javafour;

public abstract class Pet {
    private int health;


    public abstract void eat();

    public int getHealth() {
        return health;
    }

    public void setHealth(int health) {
        this.health = health;
    }
}
